package org.pine.api.beans.request;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.List;

/**
 * 用户查询请求体
 *
 * @author pine
 * @version v1.0
 * @since 2025-04-12 16:19
 */
@EqualsAndHashCode(callSuper = true)
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@Schema(description = "用户查询请求体")
public class UserQueryRequest extends BaseQueryRequest {
    @Serial
    private static final long serialVersionUID = 1519646102777125136L;

    /**
     * 用户名
     */
    @Schema(title = "用户名", description = "用户名")
    private String username;

    /**
     * 登录账号
     */
    @Schema(title = "登录账号", description = "登录账号")
    private String loginAccount;

    /**
     * 状态:0=无效,1=有效
     */
    @Schema(title = "状态", description = "状态:0=无效,1=有效")
    private Integer status;

    /**
     * 状态列表:0=无效,1=有效
     */
    @Schema(title = "状态列表", description = "状态列表:0=无效,1=有效")
    private List<Integer> statusList;
}
